from selenium import webdriver


def grab(url=None):
    browser = webdriver.Chrome
    browser.get(url)
    print(browser.page_source)
    browser.close()


def test():
    browser = webdriver.Chrome
    browser.get("http://www.baidu.com")
    print(browser.page_source)
    browser.close()


if __name__ == '__main__':
    test()
